package com.ruoyi.cluster.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 基础信息——大集群列对象 kw_huge_cluster_info
 * 
 * @author gonianer
 * @date 2023-11-30
 */
public class KwHugeClusterInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增键 */
    private Long id;

    /** 大集群编号 */
    @Excel(name = "大集群编号")
    private String hclusterId;

    /** admin用户密码 */
    @Excel(name = "admin用户密码")
    private String accessKey;

    /** 安装的版本 */
    @Excel(name = "安装的版本")
    private String version;

    /** 上线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bootstrapTime;

    /** 静态数据应用名称 */
    @Excel(name = "静态数据应用名称")
    private String appname;

    /** 其他字段信息的json格式字符串 */
    @Excel(name = "其他字段信息的json格式字符串")
    private String extraInfo;

    /** 安装目录的名称，它是基于用户主目录的相对位置 */
    @Excel(name = "安装目录的名称，它是基于用户主目录的相对位置")
    private String kwRootDir;

    /** 是否是多ups版本 */
    @Excel(name = "是否是多ups版本")
    private Integer isMups;

    /** 添加人 */
    @Excel(name = "添加人")
    private String createUser;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    /** 部署状态：1-创建中 2-运行中 3-删除中 */
    @Excel(name = "部署状态：1-创建中 2-运行中 3-删除中")
    private Integer status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setHclusterId(String hclusterId) 
    {
        this.hclusterId = hclusterId;
    }

    public String getHclusterId() 
    {
        return hclusterId;
    }
    public void setAccessKey(String accessKey) 
    {
        this.accessKey = accessKey;
    }

    public String getAccessKey() 
    {
        return accessKey;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setBootstrapTime(Date bootstrapTime) 
    {
        this.bootstrapTime = bootstrapTime;
    }

    public Date getBootstrapTime() 
    {
        return bootstrapTime;
    }
    public void setAppname(String appname) 
    {
        this.appname = appname;
    }

    public String getAppname() 
    {
        return appname;
    }
    public void setExtraInfo(String extraInfo) 
    {
        this.extraInfo = extraInfo;
    }

    public String getExtraInfo() 
    {
        return extraInfo;
    }
    public void setKwRootDir(String kwRootDir) 
    {
        this.kwRootDir = kwRootDir;
    }

    public String getKwRootDir() 
    {
        return kwRootDir;
    }
    public void setIsMups(Integer isMups) 
    {
        this.isMups = isMups;
    }

    public Integer getIsMups() 
    {
        return isMups;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hclusterId", getHclusterId())
            .append("accessKey", getAccessKey())
            .append("version", getVersion())
            .append("bootstrapTime", getBootstrapTime())
            .append("appname", getAppname())
            .append("extraInfo", getExtraInfo())
            .append("kwRootDir", getKwRootDir())
            .append("isMups", getIsMups())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .append("comment", getComment())
            .append("status", getStatus())
            .toString();
    }
}
